
<?php echo form_open('users/send'); //This is kinda similar to the action field in a regular form ?>
	<?php  
		$user_data = array (
			'name' => 'nickname',
			 'id' => 'name',
			 'value' => set_value('name')
		);
	?>

	<p>Nick Name: <?php echo form_input($user_data); ?></p>
	<p>Email Address: <input type="text" name="email" id="email" value="<?php echo set_value('email'); ?>"></p>
	<p>Facebook UID: <input type="text" name="fb_uid" id="fb_uid" value="<?php echo set_value('fb_uid'); ?>"></p>
	<p>Current City: <input type="text" name="city" id="city" value="<?php echo set_value('city'); ?>"></p>
	<p><?php echo form_submit('submit', 'Submit'); ?></p>
	<?php echo form_close(); ?>
	<?php echo validation_errors(); ?>

